package com.management.dao;

import com.management.controller.form.ChangeAccountForm;
import com.management.model.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 龙世超
 * @since 2022-03-23
 */
public interface AccountDao extends BaseMapper<Account> {

    @Update("UPDATE dm_account SET account_tel=#{accountTel},account_email=#{accountEmail} WHERE account_id=#{accountId}")
    Integer changeMessage(ChangeAccountForm changeAccountForm);
}
